package com.wangdao.wechatmall.bean.vo.admin;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @author ShuiYi
 * @time 2021-07-09 18:05
 */
@Data
public class AdCreateVO {

    /**
     * id : 28
     * name : test
     * link : test
     * url : http://182.92.235.201:8083/wx/storage/fetch/tuvzygiyiqctyolrw1v5.jpg
     * position : 1
     * content : test
     * enabled : true
     * addTime : 2021-07-09 18:01:09
     * updateTime : 2021-07-09 18:01:09
     */

    private Integer id;
    private String name;
    private String link;
    private String url;
    private Byte position;
    private String content;
    private Boolean enabled;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date addTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;


}
